package cn.genmer.test.security.designpatterns.decorator.mydecorator;

import cn.genmer.test.security.designpatterns.decorator.Decorator;
import cn.genmer.test.security.designpatterns.decorator.Drink;

/**
 *  具体的装饰类 - 珍珠
 */
public class Pearl extends Decorator {
    public Pearl(Drink obj){
        super(obj);
        setName("珍珠");
        setPrice(3.0f);
    }

}
